package com.amos.muexamclient.sys.mapper;

import com.amos.muexamclient.sys.entity.SysRoleDeptEntity;
import com.amos.muexamclient.sys.service.dto.SysRoleDeptDTO;
import com.amos.muexamcore.core.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * Copyright © 2018 五月工作室. All rights reserved.
 *
 * @Package com.amos.muexamclient.sys.mapper
 * @ClassName SysRoleDeptDao
 * @Description TODO
 * @Author Amos
 * @Modifier
 * @Date 2020-03-24 14:36:03
 * @Version 1.0
 **/
@Mapper
public interface SysRoleDeptMapper extends BaseMapper<SysRoleDeptEntity, SysRoleDeptDTO> {


    void deleteRoleDeptByRoleId(@Param("roleId") String id);

    int batchRoleDept(@Param("list") List<SysRoleDeptDTO> list);
}